package com.ucode.application.controller.search;

import com.ucode.springboot.starter.ESsearch.annotation.ESField;
import com.ucode.springboot.starter.ESsearch.enums.DataType;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor

@ApiModel(value="详细信息")
public class PersonDetails {

    @ApiModelProperty(value = "地址",required=false)
    @ESField(datatype = DataType.keyword_type,keyword= true,ngram=true,suggest=true)
    private String address;
}
